#include <stdio.h>
#include <stdlib.h>
#include "ble.h"

int main(int argc, char *argv[]) {
    if (argc != 2) {
        fprintf(stderr, "Usage: %s <1-5>\n", argv[0]);
        return 1;
    }
    int method = atoi(argv[1]);
    switch (method) {
        case 1: check_endian_bit_field(); break;
        case 2: check_endian_bitwise(); break;
        case 3: check_endian_standard(); break;
        case 4: check_endian_pointer(); break;
        case 5: check_endian_union(); break;
        default: fprintf(stderr, "Invalid method\n"); return 1;
    }
    return 0;
}
